package com.bonana.core.result;
/**
 * Created by xiabin on 2016/8/17.
 */
public class Response {

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public Response(ResponseCode code) {
        resultCode = code.getResultCode();
        resultMsg = code.getResultMsg();
    }

    Integer resultCode;
    String resultMsg;
}
